import createAxios from '/@/utils/axios'

const controllerUrl = '/admin/xmwms.OutboundOrderDetail/'

export const actionUrl = new Map([['shipment', controllerUrl + 'shipment']])

export function outboundOrderShipment(filter: anyObj = {}): ApiPromise<TableDefaultData> {
    return createAxios({
        url: actionUrl.get('shipment'),
        method: 'get',
        params: filter,
    }) as ApiPromise
}
